package com.weiiew.common.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.weiiew.common.entity.simple.Countable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @TableName building
 */
@TableName(value = "building")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BuildingVO implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 建筑物id
     */
    @TableId
    private Long id;
    /**
     * 建筑名
     */
    private String name;
    /**
     * 建筑物种类
     */
    private String type;
    /**
     * 建筑能耗
     */
    private Integer power;
    /**
     * 建筑物的图标url
     */
    private String iconUrl;
    /**
     * 建筑物简介
     */
    private String description;
    /**
     * 建筑消耗
     */
    private List<Countable> costs;
}